package com.lnj.community.config;


import com.aliyun.oss.OSS;
import com.aliyun.oss.OSSClientBuilder;
import com.aliyun.oss.model.PolicyConditions;
import com.aliyuncs.DefaultAcsClient;
import com.aliyuncs.auth.sts.AssumeRoleRequest;
import com.aliyuncs.auth.sts.AssumeRoleResponse;
import com.aliyuncs.exceptions.ClientException;
import com.aliyuncs.http.MethodType;
import com.aliyuncs.profile.DefaultProfile;
import com.google.gson.Gson;
import org.springframework.context.annotation.Configuration;



@Configuration
public class OSSConfig {
    public static final String ENDPOINT = "oss-cn-beijing.aliyuncs.com";
   // public static final String ACCESS_KEY_ID = "LTAI5tBpH5JyT395HxJLJHux";
   public static final String ACCESS_KEY_ID ="LTAI5tQzJKm8643HmGFmNts6";
    //public static final String ACCESS_KEY_SECRET = "GDjDb21uvhQvhPTOL9VSW9pDa9EjFL";
    public static final String ACCESS_KEY_SECRET = "OazmhXTJch2FR9heSzdEYEZvSEZcpX";
    public static final String BUCKET_NAME = "lnj-bucket";

    public static final String ROLE_ARN = "acs:ram::1996232281294788:role/lnjrole1019";

}
